package com.tangyuan.servicegateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.concurrent.TimeUnit;

@Data
@Component
@ConfigurationProperties(prefix = "spring.cloud.gateway.debounce")
public class GlobalDebounceConfiguration {
    long time;
    TimeUnit timeUnit;
}
